﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WWX.Dto;
using WWX.Dto.Search;
using WWX.Model;

namespace WWX.Admin.IDAL
{
    public interface IOrderDAL
    {
        void Add(Order order);

        void Update(Order order);

        Order Get(string id);

        List<OrderAdminDto> GetPageList(OrderAdminSearch search, int pageNo, int pageSize, out int total);
             
    }
}
